

import * as React from 'react';
import { View } from 'remax/wechat';
import styles from './index.less';

const index = (props) => {
  const { title = "", showMore = false } = props;

  return <View className={`${styles.title} flex flex_col_center  flex_row_between`}>
    <View className={styles.main_title}>
      {title}
    </View>
    <View className={styles.more}>
      {showMore && "更多"}
    </View>
  </View>
}

export default index;